package com.lx.base.util;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lx.base.api.Pagination;

/**
 * @author lixing
 * @date 2022/7/27 18:56
 */
public class PageUtils {
    public static Page getPage(Pagination pagination){
      return   new Page(pagination.getPageNum(),pagination.getPageSize());
    }
}
